<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
        哞哞管理后台
    </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="./css/x-admin.css" media="all">
    <script src="js/jquery.min.js"></script>
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script src="./js/x-layui.js" charset="utf-8"></script>
    <script src="pageJs/utils.js" charset="utf-8"></script>
    <script src="pageJs/orderList.js"></script>
    <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.css">
    <script src="lib/bootstrap/js/bootstrap.min.js"></script>
    <style>
        .dl-horizontal dd{
            text-align: left;
        }
    </style>
</head>
<body style="padding-bottom: 100px">
<div class="x-nav">
            <span class="layui-breadcrumb">
              <a><cite>首页</cite></a>
              <a><cite>订单管理</cite></a>
              <a><cite>订单列表</cite></a>
            </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
       href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon"
                                                                        style="line-height:30px">ဂ</i></a>
    <input id="menuId" type="hidden"/>
</div>
<div class="x-body">

        <xblock><span class="x-right" style="line-height:40px" id="total">加载中...</span></xblock>
    <input class="layui-input" placeholder="开始日" id="LAY_demorange_s" style="width: 200px;display: inline-block">
    <input class="layui-input" placeholder="截止日" id="LAY_demorange_e" style="width: 200px;display: inline-block">
        <!--根据订单流水号查询-->

            <input id="queryKey" class="layui-btn layui-btn-primary" placeholder="请输入订单流水号" value="">
    <select class="layui-btn layui-btn-primary" id="state">
        <option value="">订单状态(全部)</option>
        <option value="100">未支付</option>
        <option value="200">支付完成</option>
        <option value="300">支付成功</option>
    </select>

        <button onclick="search()" class="layui-btn" style="height:32px;"><i class="layui-icon">&#xe615;</i></button>

</div>
<table class="layui-table">
    <thead>
    <tr>
        <th>账户id</th>
        <th style="min-width: 75px">流水号</th>
        <th>服务</th>
        <th>状态</th>
        <th>金额(元)</th>
        <th>创建时间</th>
        <th>完成时间</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody id="orderList">
    <tr>
        <td colspan="8" style="text-align: center">
            正在加载 ...
        </td>
    </tr>
    </tbody>
</table>

<div id="page"></div>

<div class="modal fade" id="orderDetail" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content" style="width: 900px;height: 40vh">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">&times;</button>
                <h4 class="modal-title" id="myModalLabel">订单详情</h4>
            </div>
            <div class="modal-footer">
                <div class="wrapper wrapper-content animated fadeInRight">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="ibox float-e-margins">
                                <!--<div class="ibox-title">
                                    <h5>订单详情</h5>
                                    <div class="ibox-tools">
                                        <a class="collapse-link">
                                            <i class="fa fa-chevron-up"></i>
                                        </a>
                                        <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                                            <i class="fa fa-wrench"></i>
                                        </a>
                                        <ul class="dropdown-menu dropdown-user">
                                            <li><a href="#">Config option 1</a>
                                            </li>
                                            <li><a href="#">Config option 2</a>
                                            </li>
                                        </ul>
                                        <a class="close-link">
                                            <i class="fa fa-times"></i>
                                        </a>
                                    </div>
                                </div>-->
                                <div class="ibox-content" id="orderDetailPage">
                                    <!--<div class="col-sm-6">
                                        <dl class="dl-horizontal">
                                            <dt>用户ID:</dt>
                                            <dd>1000064870</dd>
                                            <dt>手机号码:</dt>
                                            <dd>18729975514</dd>
                                            <dt>订单流水:</dt>
                                            <dd>20180412160000000001</dd>
                                            <dt>支付流水:</dt>
                                            <dd>20180412160000000001</dd>
                                            <dt>品类数:</dt>
                                            <dd>0</dd>
                                            <dt>购买总数量:</dt>
                                            <dd>1</dd>
                                            <dt>积分抵扣:</dt>
                                            <dd>0.00</dd>
                                            <dt>优惠券抵扣:</dt>
                                            <dd>0.00</dd>
                                            <dt>原始金额:</dt>
                                            <dd>50.00</dd>
                                            <dt>折扣金额:</dt>
                                            <dd>0.00</dd>
                                            <dt>成交金额:</dt>
                                            <dd>50.00</dd>
                                        </dl>
                                    </div>
                                    <div class="col-sm-6">
                                        <dl class="dl-horizontal">
                                            <dt>姓名:</dt>
                                            <dd>xxx</dd>
                                            <dt>昵称:</dt>
                                            <dd>985644</dd>
                                            <dt>性别:</dt>
                                            <dd>女</dd>
                                            <dt>服务性质:</dt>
                                            <dd>零钱充值</dd>
                                            <dt>订单状态:</dt>
                                            <dd>xxx</dd>
                                            <dt>订单来源:</dt>
                                            <dd>Android</dd>
                                            <dt>订单地址:</dt>
                                            <dd>xxx</dd>
                                            <dt>下单时间:</dt>
                                            <dd>2018-04-12 16:00:40 </dd>
                                            <dt>修改时间:</dt>
                                            <dd>2018-04-12 16:00:41 </dd>
                                            <dt>完成时间:</dt>
                                            <dd>2018-04-12 16:00:41 </dd>
                                        </dl>
                                    </div>-->
                                </div>
                                <!--<div class="ibox-title">
                                    <h5>订单信息</h5>
                                    <div class="ibox-tools">
                                        <a class="collapse-link">
                                            <i class="fa fa-chevron-up"></i>
                                        </a>
                                        <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                                            <i class="fa fa-wrench"></i>
                                        </a>
                                        <ul class="dropdown-menu dropdown-user">
                                            <li><a href="#">Config option 1</a>
                                            </li>
                                            <li><a href="#">Config option 2</a>
                                            </li>
                                        </ul>
                                        <a class="close-link">
                                            <i class="fa fa-times"></i>
                                        </a>
                                    </div>
                                </div>-->
                                <!--<div class="ibox-content">
                                    <div class="col-sm-6">
                                        <dl class="dl-horizontal">
                                            <dt>服务性质:</dt>
                                            <dd>零钱充值</dd>
                                            <dt>订单流水:</dt>
                                            <dd>20180412160000000001</dd>
                                            <dt>支付流水:</dt>
                                            <dd>20180412160000000001</dd>
                                            <dt>品类数:</dt>
                                            <dd>0</dd>
                                            <dt>下单时间:</dt>
                                            <dd>2018-04-12 16:00:40 </dd>
                                            <dt>完成时间:</dt>
                                            <dd>2018-04-12 16:00:41 </dd>
                                            <dt>原始金额:</dt>
                                            <dd>50.00</dd>
                                            <dt>折扣金额:</dt>
                                            <dd>0.00</dd>
                                            <dt>积分抵扣:</dt>
                                            <dd>0.00</dd>
                                        </dl>
                                    </div>
                                    <div class="col-sm-6">
                                        <dl class="dl-horizontal">
                                            <dt>&nbsp;</dt>
                                            <dd>&nbsp;</dd>
                                            <dt>订单状态:</dt>
                                            <dd>xxx</dd>
                                            <dt>订单来源:</dt>
                                            <dd>Android</dd>
                                            <dt>订单地址:</dt>
                                            <dd>xxx</dd>
                                            <dt>购买总数量:</dt>
                                            <dd>1</dd>
                                            <dt>修改时间:</dt>
                                            <dd>2018-04-12 16:00:41 </dd>
                                            <dt>成交金额:</dt>
                                            <dd>50.00</dd>
                                            <dt>优惠券抵扣:</dt>
                                            <dd>0.00</dd>
                                        </dl>
                                    </div>
                                </div>-->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
